package systems.database.query.condition;

public enum ComparatorEnum {
	LESS, EQUALS, GREATER, NEQ, GTE, LTE, NOT, IN, NOT_IN, LIKE;
	
	public static String getValue(ComparatorEnum arithm)
	{
		switch(arithm)
		{
		case LESS:		return "<";
		case EQUALS:	return "=";
		case GREATER: 	return ">";
		case NEQ:		return "<>";
		case GTE:		return ">=";
		case LTE: 		return "<=";
		case NOT:		return "not";
		case IN:		return "in";
		case NOT_IN: 	return "not in";
		case LIKE:		return "like";
		}
		return null;
	}
}
